#pragma once
#include "httplib.h"
#include "json.h"
#include "DB.h"
#include "Scheduler.h"
Statistic st;
Scheduler sch;

void run();

class Communication
{
	friend void run();
private:
	int mode = 0;
	int defaultT = 26;
public:
	int call();
	void setMode(int);
	void setDefault(int);
	int getMode();
	int getDefault();
};

